package com.cssl.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "sms")
@Configuration
public class SmsConfig {

    private String appCode;

    private String templateId;

    public SmsConfig() {
    }

    public SmsConfig(String appCode, String templateId) {
        this.appCode = appCode;
        this.templateId = templateId;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }
}
